package com.entor.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.entor.dao.UserDao;
import com.entor.model.User;
import com.entor.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	
	@Autowired
	private UserDao ud;

	@Override
	public List<User> find(User u) {
		List<User> list = ud.find(u);
		return list;
	}

	@Override
	public List<User> findUser(User u) {
		List<User> list = ud.findUser(u);
		return list;
	}

}
